(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <intuition/screens.h>
#include <proto/intuition.h>
LONG GetScreenData()
SYNOPSIS
APTR buffer
ULONG size
ULONG type
struct Screen * screen

LOCATION
In IntuitionBase at offset 71
FUNCTION
Copy part or all infos about a screen into a private buffer.

To copy the Workbench, one would call

GetScreenData (buffer, sizeof(struct Screen), WBENCHSCREEN, NULL)

If the screen is not open, this call will open it. You can use this function for these purposes:

1) Get information about the workbench in order to open a window on it (eg. size). 2) Clone a screen.

INPUTS
buffer
The data gets copied here
size
The size of the buffer in bytes
type
The type of the screen as in OpenWindow().
screen
Ignored unless type is CUSTOMSCREEN.
RESULT
TRUE if successful, FALSE if the screen could not be opened.

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
27.01.1997 ldp
Polish
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
08.11.1996 aros
All OS function use now Amiga types

Moved intuition-driver protos to intuition_intern.h

24.10.1996 aros
Use the official AROS macros over the __AROS versions.
21.10.1996 aros
A couple of new functions